﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;

namespace HZ.Supervise.Web.Peculiar
{
    public partial class history : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                ShowHistor();
            }
        }
        private void ShowHistor()
        {
            string hospitalId = HZ.Common.HzConvert.ToString(Request.QueryString["HospitalId"]);
            HZ.Supervise.IBLL.IBLL_SpecialAuthority sp = HZ.Supervise.BLLFactory.IBLL_SpecialAuthority();
            DataTable dt= sp.GetAllHospitalLog(hospitalId);
            StringBuilder buder = new StringBuilder();
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                buder.Append(dt.Rows[i]["HGoods"].ToString());
            }
            if (buder.Length > 0)
            {
                Label1.Text = buder.ToString();
            }
            else 
            {
                Label1.Text = "暂无符合条件的数据";
            }
          
        }

    }
}
